<?php
if(isset($_SESSION['lang']))
			$lang = $_SESSION['lang'];	
if (empty($lang) || $lang == "EN") {
	$value = "../value/value_en.php";
} else if($lang == "VN") {
	$value = "../value/value_vn.php";
}
else {
	$value = "../value/value_kr.php";
}
include($value);
$id=$_REQUEST["id"];

$name=$_REQUEST["name"];
$startDay=$_REQUEST["startDay"];
$endDay=$_REQUEST["endDay"];
$price=$_REQUEST["price"];
$company=$_REQUEST["company"];
$note=$_REQUEST["note"];

include '../operations/connection.php';

mysql_query("UPDATE `contract_warranty_detail` SET `name`='$name', `startDay`='$startDay', `endDay`='$endDay', `price`='$price', `company`='$company', `note`='$note' WHERE (`id`='$id')");

mysql_close($connection);?>